<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="x-ua-compatible" content="ie=edge">

  <title><%=SETTING.website_name%></title>

  <%- include(VIEWROOT+'common/cssjs.html'); %>
</head>

<body class="hold-transition sidebar-mini">
  <div class="wrapper">

    <%- include(VIEWROOT+'common/navbar.html'); %>

    <%- include(VIEWROOT+'common/sidebar.html'); %>



    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

      <!-- Main content -->
      <div class="content">
        <div class="container-fluid">
          <div class="row">
            <!-- /.col-md-12 -->
            <div class="col-lg-12">
              <div class="card card-primary">
                <div class="card-header">
                  <h3 class="card-title">添加会员</h3>
                </div>
                <!-- /.card-header -->
                <!-- form start -->
                <form role="form" method="post" action="" id="myform">
                  <div class="card-body">
                    <div class="form-group">
                      <label for="username">账号*</label>
                      <input type="text" class="form-control" name="username" id="username" placeholder="" value="">
                    </div>
                    <div class="form-group">
                      <label for="password">密码*</label>
                      <input type="password" class="form-control" name="password" id="password" placeholder="" value="">
                    </div>
                    <div class="form-group">
                        <label for="groupid">所属组*</label>
                        <select class="form-control" name="groupid" id="groupid">
                            <% for(var k in CORE_ENUMS.member_group){ %>
                            <option value="<%=k%>" <% if(groupid==k){ %>selected<%}%>><%=CORE_ENUMS.member_group[k]%></option>
                            <% } %>
                          </select>
                      </div>
                      <div class="form-group">
                          <label for="truename">真实姓名</label>
                          <input type="text" class="form-control" name="truename" id="truename" placeholder="" value="">
                        </div>
                      <div class="form-group">
                          <label for="telephone">电话</label>
                          <input type="text" class="form-control" name="telephone" id="telephone" placeholder="" value="">
                        </div>
                      <div class="form-group">
                          <label for="qq">QQ</label>
                          <input type="text" class="form-control" name="qq" id="qq" placeholder="" value="">
                        </div> 
                      <div class="form-group">
                          <label for="mobile">手机</label>
                          <input type="text" class="form-control" name="mobile" id="mobile" placeholder="" value="">
                        </div>  
                      <div class="form-group">
                          <label for="email">邮箱</label>
                          <input type="text" class="form-control" name="email" id="email" placeholder="" value="">
                        </div>  
                      <div class="form-group">
                          <label for="address">地址</label>
                          <input type="text" class="form-control" name="address" id="address" placeholder="" value="">
                        </div>    
                    
                  </div>
                  <!-- /.card-body -->

                  <div class="card-footer text-center">
                    <button type="submit" name="submit" class="btn btn-primary">提交</button>
                  </div>
                </form>
              </div>
            </div>



            <!-- /.col-md-12 -->
          </div>
          <!-- /.row -->
        </div><!-- /.container-fluid -->
      </div>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
      <!-- Control sidebar content goes here -->
      <div class="p-3">
        <h5>Title</h5>
        <p>Sidebar content</p>
      </div>
    </aside>
    <!-- /.control-sidebar -->


    <%- include(VIEWROOT+'common/footer.html'); %>
  </div>
  <%- include(VIEWROOT+'member/js.html'); %>
</body>

</html>